{extend name="common@admin_base" /}

{block name="head_extends"}
<script type="application/javascript">
    layui.use(['jquery', 'form'], function(){

    });
</script>
{/block}
{block name="body"}

<div class="layui-container">
    <div class="layui-row">
        <div class="layui-col-md6 layui-col-md-offset1">
            <fieldset class="layui-elem-field layui-field-title"><legend>权限树扩展分享</legend></fieldset>
            <!-- 此扩展能递归渲染一个权限树，点击深层次节点，父级节点中没有被选中的节点会被自动选中，单独点击父节点，子节点会全部 选中/去选中 -->
            <form class="layui-form">
                <div class="layui-form-item">
                    <label class="layui-form-label">qq号</label>
                    <div class="layui-input-block">
                        <input class="layui-input" type="text" value="{$qq.qq}" readonly>
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">管理QQ</label>
                    <div class="layui-input-block">
                        <input class="layui-input" type="text" value="{$qq.masterQQ}" readonly>
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">注册码</label>
                    <div class="layui-input-block">
                        <input class="layui-input" type="text" value="{$qq.code}" readonly disabled="disabled">
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">有效</br>时间</br>范围</label>
                    <div class="layui-input-block">
                        <input class="layui-input" type="text" value="{$qq.start_time}" style="width: 170px" readonly>
                        至
                        <input class="layui-input" style="width: 170px" type="text" value="{$qq.end_time}" readonly>
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">更新时间</label>
                    <div class="layui-input-block">

                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">状态</label>
                    <div class="layui-input-block">

                        <select class="layui-input" value="{$qq.status}" disabled>
                            <option value="10"{if condition="10 == $qq.status"} selected {/if}>不显示</option>
                            <!--<option value="20"{if condition="20 == $qq.status"} selected {/if}>显示置灰</option>-->
                            <!--<option value="30"{if condition="30 == $qq.status"} selected {/if}>显示标新</option>-->
                            <option value="99"{if condition="99 == $qq.status"} selected {/if}>正常显示</option>
                        </select>
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">创建时间</label>
                    <div class="layui-input-block">
                        <input class="layui-input" type="text" value="{$qq.create_time}" readonly>
                    </div>
                </div>

                <div class="layui-form-item">
                    <label class="layui-form-label">上次更新时间</label>
                    <div class="layui-input-block">
                        <input class="layui-input" type="text" value="{$qq.update_time}" readonly>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>


{/block}